package com.woniushop.entity;

/**
 * 地址实体类
 * 
 * @author 崔新雄
 *
 */
public class Address {

	private Integer aid;// 地址id
	private Integer uid;// 用户id
	private String aphone;// 收件人电话号码
	private String acode;// 收件人邮政编码
	private String ainfo;// 收件人地址
	private String aname;// 收件人姓名
	private Integer astate;// 地址状态;1：默认；2：可用；3：禁用

	private String uname;// 地址创建者昵称
	private String uaccount;// 地址创建者账号

	public Integer getAid() {
		return aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getAphone() {
		return aphone;
	}

	public void setAphone(String aphone) {
		this.aphone = aphone;
	}

	public String getAcode() {
		return acode;
	}

	public void setAcode(String acode) {
		this.acode = acode;
	}

	public String getAinfo() {
		return ainfo;
	}

	public void setAinfo(String ainfo) {
		this.ainfo = ainfo;
	}

	public String getAname() {
		return aname;
	}

	public void setAname(String aname) {
		this.aname = aname;
	}

	public Integer getAstate() {
		return astate;
	}

	public void setAstate(Integer astate) {
		this.astate = astate;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUaccount() {
		return uaccount;
	}

	public void setUaccount(String uaccount) {
		this.uaccount = uaccount;
	}

	@Override
	public String toString() {
		return "Address [aid=" + aid + ", uid=" + uid + ", aphone=" + aphone + ", acode=" + acode + ", ainfo=" + ainfo
				+ ", aname=" + aname + ", astate=" + astate + ", uname=" + uname + ", uaccount=" + uaccount + "]";
	}

}
